Based on "Crappy Cycles Solve", but this one loops.